<h1>Available reports...</h1>

<table>
  <tr>
    <th>Client Name</th>
    <th>Report</th>
  </tr>
  
<% for client in @clients %>
  <tr>
    <td><%=h client.name%></td>
    <td><%= link_to 'View', :action => 'list', :id => client.short %></td>
  </tr>
<% end %>
</table>

<%= link_to 'Previous page', { :page => @client_pages.current.previous } if @client_pages.current.previous %>
<%= link_to 'Next page', { :page => @client_pages.current.next } if @client_pages.current.next %> 
